package com.emergency.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.emergency.data.entity.EmergencySuppliesPoint;

import com.emergency.data.vo.EmergencySuppliesPointVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmergencySuppliesPointMapper extends BaseMapper<EmergencySuppliesPoint> {

    void insertAndReturnId(EmergencySuppliesPoint emergencySuppliesPoint);

    List<EmergencySuppliesPoint> getEmergencySuppliesPointByMap(@Param("minX") double minX, @Param("maxX") double maxX,
                                                                  @Param("minY") double minY, @Param("maxY") double maxY);

}
